﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class IoTbPatientAppointment
    {
        /// <summary>
        /// id
        /// </summary>
        public int AppointmentId { get; set; }
        /// <summary>
        /// 患者id
        /// </summary>
        public int? PatId { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string? CardNo { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PatName { get; set; }
        /// <summary>
        /// 门诊号
        /// </summary>
        public string? OutPatientNo { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public int? CertificateType { get; set; }
        /// <summary>
        /// 证件号
        /// </summary>
        public string? CertificateNo { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? Sex { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string? MobilePhone { get; set; }
        /// <summary>
        /// 门诊医生id
        /// </summary>
        public int? ClinicDoctor { get; set; }
        /// <summary>
        /// 门诊医生姓名
        /// </summary>
        public string? ClinicDoctorName { get; set; }
        /// <summary>
        /// 门诊诊断编码
        /// </summary>
        public string? ClinicDiagnosisCode { get; set; }
        /// <summary>
        /// 门诊诊断名称
        /// </summary>
        public string? ClinicDiagnosisName { get; set; }
        /// <summary>
        /// 入院日期
        /// </summary>
        public DateTime? InTime { get; set; }
        /// <summary>
        /// 科室id
        /// </summary>
        public int? DeptId { get; set; }
        /// <summary>
        /// 病区id
        /// </summary>
        public int? WardId { get; set; }
        /// <summary>
        /// 状态(0待入院1已入院)
        /// </summary>
        public byte? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateOn { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdateUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateOn { get; set; }
        /// <summary>
        /// 医院id
        /// </summary>
        public int? HospitalId { get; set; }
        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string? ContactsName { get; set; }
        /// <summary>
        /// 联系人关系
        /// </summary>
        public int? ContactsRelationShip { get; set; }
        /// <summary>
        /// 联系人手机
        /// </summary>
        public string? ContactsRelationShipPhone { get; set; }
        /// <summary>
        /// 联系人地址
        /// </summary>
        public string? ContactsRelationShipAddress { get; set; }
        /// <summary>
        /// 联系人邮编
        /// </summary>
        public string? ContactsRelationZip { get; set; }
    }
}
